import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import PortalVue from "portal-vue";
import FastClick from "fastclick";
import "./common/flexible";
import "@/styles/common.styl";

import AutoImage from "@/components/AutoImage";
import Drawer from "@/components/Drawer";

Vue.config.productionTip = false;
Vue.use(PortalVue);
Vue.component("AutoImage", AutoImage);
Vue.component("Drawer", Drawer);

FastClick.attach(document.body);

new Vue({
  router,
  data: {
    portals: []
  },
  render: h => h(App)
}).$mount("#app");
